package com.example.dy.dy_bigtask.pojo;


import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;

public class User {
	private Integer id;
	private String userName; //用户名称
	private String userPassword; //用户密码
	private Integer userRole;    //用户角色
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public Integer getUserRole() {
		return userRole;
	}
	public void setUserRole(Integer userRole) {
		this.userRole = userRole;
	}
	@Override
	public String toString() {
		return "User{" +
				//"role=" + role +
				", id=" + id +
				", userName='" + userName + '\'' +
				", userPassword='" + userPassword + '\'' +
				", userRole=" + userRole +
				'}';
	}
}
